package com.wenson.creational.builder;

/**
 * @ClassName: Client
 * @Author: luowangcheng
 * @Date: 2024/6/13 7:46
 * @Description:
 */
public class BuilderClient {
    public static void main(String[] args) {
        Director director = new Director(new HouseBuilder());
        System.out.println(director.direct());

        director.setBuilder(new ApartmentBuilder());
        System.out.println(director.direct());
    }
}
